document empty expression
authorJoey Hess <joeyh@joeyh.name>
Fri, 13 Dec 2024 17:31:21 +0000 (13:31 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 13 Dec 2024 17:31:21 +0000 (13:31 -0400)
doc/git-annex-required.mdwn
doc/git-annex-wanted.mdwn

index 9cb079a322af57b1853fc6cc2c02d22fbd9eba0f..876ac37ebc693f6390de89240c012f6c73ef7c3a 100644 (file)
@@ -11,10 +11,6 @@ git annex required `repository [expression]`
 When run with an expression, configures the content that is required
 to be held in the repository.
 
-For example:
-
-       git annex required . "include=*.mp3 or include=*.ogg"
-
 Without an expression, displays the current required content setting
 of the repository.
 
@@ -26,6 +22,15 @@ need to be removed with `git annex drop --force`.
 Also, `git-annex fsck` will warn about required contents that are not
 present.
 
+For example:
+
+       git annex required here "include=*.mp3 or include=*.ogg"
+
+To return a repository to the original default behavior, use an empty
+value for the expression, eg:
+
+    git-annex required here ""
+
 # OPTIONS
 
 * The [[git-annex-common-options]](1) can be used.
index f78aef0fc06ab60657a97bd66d590c068544a4a2..f683d5be46c53d58d12daf866d2f86d6ea9067cc 100644 (file)
@@ -13,11 +13,16 @@ to be held in the repository. See [[git-annex-preferred-content]](1)
 
 For example:
 
-       git annex wanted . "include=*.mp3 or include=*.ogg"
+       git annex wanted here "include=*.mp3 or include=*.ogg"
 
 Without an expression, displays the current preferred content setting
 of the repository.
 
+To return a repository to the original default behavior, use an empty
+value for the expression, eg:
+
+    git-annex wanted here ""
+
 # OPTIONS
 
 * The [[git-annex-common-options]](1) can be used.